/**
* @file   wrapper.h
* @author sunway <sunwayforever@gmail.com>
* @date   Wed Oct 29 16:46:08 2008
* 
* @brief  
* 
* 
*/
#ifndef _WRAPPER_H
#define _WRAPPER_H 1
#include <sys/types.h>          /* See NOTES */
#include <sys/socket.h>
int Socket (int domain, int type, int protocol);
int Bind (int socket, const struct sockaddr *address,socklen_t address_len);
int Listen (int socket,int backlog);
ssize_t Recvfrom (int s, void *buf, size_t len, int flags,struct sockaddr *from, socklen_t *fromlen);
ssize_t Sendto(int socket, const void *message, size_t length,int flags, const struct sockaddr *dest_addr,socklen_t dest_len);
#endif
